adds token to params