Security check for admin access has been added.