public function setCurrentUser(\Gems_User_User $user)
    {
        if ($user !== self::$currentUser) {
            $this->unsetCurrentUser();
            self::$currentUser = $user;

            // Update the escort variable used by loader
            if ($escort = GemsEscort::getInstance()) {
                $escort->currentUser = $user;
            }

            // Double check in case this function was used as original
            // start for setting the user.
            if (! $user->isCurrentUser()) {
                $user->setAsCurrentUser(true);
            }
        }

        return $this;
    }