added error message to login form