modified reset.php, data.php