Fixed bug in login.php