             let passwordTextField = alertController.textFields![2] as UITextField
             
             self.firebase.createUser(loginTextField.text, password: passwordTextField.text) { (error: NSError!) in
-                
-                
                 self.showLoading()
                 if error == nil {
                     

                else
                {
                    let alertControllerSimple = UIAlertController(title: "Error", message: "There is a problem with connection", preferredStyle: .Alert)
                    
                    
                    let OKAction = UIAlertAction(title: "OK", style: .Default) { (action) in
                        // ...
                    }
                    alertControllerSimple.addAction(OKAction)
                    
                    self.presentViewController(alertControllerSimple, animated: true) {
                        // ...
                    }
                    // handle errors!!
                    
                }
            }
            

        
        // animations
        print("will appear")

    }
    
    
