Show an error message when the user attempts to log in using invalid credentials