reconfigured all files to use the require.php file to find DB connection