add api for get all badges from a list of users for a course