                     self.goToCoursesFor(student)
                 })
             } else {
+                self.setUIEnabled(true)
                 print("Something weird has happened")
             }
         }

            FirebaseClient.sharedInstance().attemptLogin(email, password: password, completionHandler: { (success, error) in
                
                if error != nil {
                    performUpdatesOnMain({ 
                        self.sendAlert(error!)
                        self.setUIEnabled(true)
                    })
                } else {
                    performUpdatesOnMain({

            FirebaseClient.sharedInstance().createUser(email, password: password, completionHandler: { (success, error) in
                
                if error != nil {
                    performUpdatesOnMain({
                        self.setUIEnabled(true)
                        self.sendAlert(error!)
                    })
                } else {
                    performUpdatesOnMain({ 
