added mysql database, connected home page to units