Minor optimizations
Implement session.requiredLogin, split index.css
Fixed bugs