Tries to fix CSRF problem