Fixed redirect issue in login.php