add unique user id function use Q