changed index.php and added userDetails.php