$canTakeCourse variable added to course/view