Fixed admin check, added pages listing view /admin/pages