Added CSRF token support