Added csrf_token when uploading files