added show and edit pages