setting up a home view