moved getUserListbyCourse function from UserEnrol to Course model.