add per-thread user ids