load courses by id