guarding the admin section in the page