Added security gate for admin