fixed slim templates
fixed csp configuration