make the csrf plugin compatible with the new output manager
make the csrf plugin compatible with the new output manager