protected static function security($firewall = null)
    {
        if($firewall) {
            return Security::getInstance()->firewall($firewall);
        }

        return Security::getInstance();
    }