made home page php work with mysql database