func Signup(c web.C, w http.ResponseWriter, r *http.Request) { user := controllers.User{} helpers.RenderJSON(w, user.CreateAccount(r.FormValue("login"), r.FormValue("email"), r.FormValue("password"), r.FormValue("password2")), http.StatusOK) }