updated index.php file & add config.php