Teacher view now works after picking a course