adding headers for token to del, mod, postData