Adds user ids and avatars in the contact list.