If form login fails, an alert is shown to the user