CDN e middleware de login/flash