error messages added into login view