fix error messages in login.php