file added and modified index.php file

added few features