Display error message when logging in or signing up