                 }
             }
             else{
-                self.signUpButton.hidden = false;
-                self.activity.hidden = true;
-                self.privacyPolicyButton.hidden = false;
-                self.termsOfServiceButton.hidden = false;
+                self.toggleMenu(true);
             }
         }
     }

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

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