     }
     
     private func signUp(email: String, password: String, firstName: String, lastName: String){
-        signUpButton.hidden = true;
-        activity.hidden = false;
-        privacyPolicyButton.hidden = true;
-        termsOfServiceButton.hidden = true;
+        toggleMenu(false);
         
         Just.post(API.getSignUpUrl(), data: API.getSignUpBody(email, password: password, firstName: firstName, lastName: lastName)){ (response) in
             if response.ok{

    @IBAction func termsOfService(){
        UIApplication.sharedApplication().openURL(NSURL(string: "https://app.tndata.org/terms/")!);
    }
}

                }
            }
            else{
                self.toggleMenu(true);
            }
        }
    }
