added get list of users function