         }
         else if (textField == lastName){
             lastName.resignFirstResponder();
+            signUpTapped();
         }
         return true;
     }

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

    }
    
    private func signUp(email: String, password: String, firstName: String, lastName: String){
        toggleMenu(false);
        
        Just.post(API.getSignUpUrl(), data: API.getSignUpBody(email, password: password, firstName: firstName, lastName: lastName)){ (response) in
            if response.ok{
