added checking for public vs staff status for pages as implemented for subjects.