added navigation and edit pages