Fixed the CSRF mechanism error