Implement solution to avoid XSRF