working on v2 need to implement getRandomSet in userdb