Adds cache control to assets
Bugfixes assets when not logged in
Fixes typo