complete the home view.