edit pages controller helper model layouts and routes