private function _checkUserId($userId = null)
    {
        if (empty($userId) && $this->currentUser instanceof \Gems_User_User) {
            $userId = $this->currentUser->getUserId();
            if (0 === $userId) {
                $userId = null;
            }
        }
        return $userId;
    }