Added main_pages controller