implementing customer->byToken