CSRF protection, fine tuning.

Run npm install in order to get csurf module.