initializing a home view