Added support for an XSRF Token