edit pages not accessible if user not logged in