updated user id generator