         var passwordValid: Bool?
         var resignedFirstResponder = false
 
-        func enableInputs() {
-            inputsEnabled = true
-        }
-        func disableInputs() {
-            inputsEnabled = false
+        func loadinHUD(visible visible: Bool) {
+            loadingHUDVisible = visible
         }
 
         func showMessage(text: String) {

        var password: String = ""
        var onePasswordAvailable: Bool = false

        var inputsEnabled = true
        var message: String?
        var emailError: String?
        var usernameError: String?

                        mockScreen.password = password
                        subject.submit(email: email, username: username, password: password)
                    }
                    it("should show loadingHUD") {
                        expect(mockScreen.loadingHUDVisible) == true
                    }
                    it("should hide errors") {
                        expect(mockScreen.message) == ""
