filling template variables for course 2
fixing bug on course layout
fixes bug on lesson page hleft nav