         
         Auth.auth().createUser(withEmail: email!, password: password!, completion: { (user, error) in
             if error != nil{
+                self.displayAlertMessage(userMessage: "Account was not created properly.")
+
+                
+                
                 print(error!)
                 return
             }

        if(password != confirmPassword)
        {
            // Display alert message
            displayAlertMessage(userMessage: "Passwords do not match.")
            return;
            
        }

        })
        
        

        
    }
    
    
