created the home view