another fix to login