inserts all courses into mongo successfully