defined view_page_type function in page controller
also return json of seats in view_page_type function page controller