setting up home view