set up home page route and views