show an error message for failed logins