Add some logic to select users.
Fix bug in ContactList.