Fixed CSRF verification issues