Login error handling improvements

- error handling on invalid user