public function initUserProfile($username)
    {
        /* @var $profileService profileService */
        $profileService = Openbizx::getService(PROFILE_SERVICE);
        if (method_exists($profileService, 'InitProfile')) {
            $profile = $profileService->initProfile($username);
        } else {
            $profile = $profileService->getProfile($username);
        }
        $this->getSessionContext()->setVar("_USER_PROFILE", $profile);
        return $profile;
    }