Adding a Csrf protection implementation