Rewrite CSRF section