Added support for CSRF verifiation