Adding a home page and setting up the database