modified login.php, reset.php and data.php