set up view for home page