Attempted fix for CSRF issue.