pass instead of reset is_admin variable