database and homepage