adding token when submit the photo