Move code to get user list into sendUserList