Added an error message into the login view.