homepage routes views and db setup