     return false
   }
   
-    @IBAction func cancelRegistration(sender: UIButton) {
-        dismissViewControllerAnimated(true, completion: nil)
-    }
-    
+  @IBAction func cancelRegistration(sender: UIButton) {
+    dismissViewControllerAnimated(true, completion: nil)
+  }
+  
   @IBAction func register(sender: UIButton) {
     
     if (loginTextField.text != "" &&

    NSNotificationCenter.defaultCenter().removeObserver(self, name: UIKeyboardWillShowNotification, object: nil)
    NSNotificationCenter.defaultCenter().removeObserver(self, name: UIKeyboardWillHideNotification, object: nil)
  }
    
}

    super.viewWillAppear(animated)
    dataSource = self
  }
  
  override func viewDidLoad() {
    super.viewDidLoad()
    
