edit pages and authorization - logged in only