Changed how errors are displayed on the login page