added method to resolve user_ids into profiles