Added support to retrieve the badges earned by a user.