Adds unique user ids and avatars in the contact list.