Create main_page controller