Made errors for logins