add utility to add token to url