add lecturer view to page generation