passing edit pages and delete pages path