There's already a property on the UserList for "me" and instead of searching through the whole collection you can just check if userList.me.userId = userId.