create provider and fetch course data