small fix for logins