fixed errors of type mismatch
fixed misspelled method logins to login