create main_page controller with home view