private function getOnlineUsers()
    {
        $date = Carbon::now()->subMinutes(
            config('arcanesoft.auth.track-activity.minutes', 5)
        );

        return $this->getCachedUsers()->filter(function (User $user) use ($date) {
            return ! is_null($user->last_activity) && $user->last_activity->gte($date);
        });
    }