Implemented HTTPOnly in cookies
Refactor code in cache/reload statics files