Started using user.uid to index users, as Kato suggested