minor fix to login view