fixed bug with esc in login.php