errors work for login as well

:)