Removed die() if !in_array($group, $user_groups