Completed logic for displaying leasons in instructors view.