public static function setReferer($uri = null)
    {
        if (empty($uri)) $uri = UrlHelper::getRequestUrl();
        CarteBlanche::getContainer()->get('session')->set('referer', $uri);
        return true;
    }