added more code

index.php file