setting up homepage view, route, controller