Add the csrf token to the add tag api
Add csrf token to post edit view