Checking Passwords for Login:
-fixed errors