Fix issue with csrf token