fixing CSS resource loading, fixing controller config