Updated index.php and new login.php