minor fix to login