public static function getReferer()
    {
        return (CarteBlanche::getContainer()->get('session')->has('referer') ?
            CarteBlanche::getContainer()->get('session')->get('referer') : null);
    }