Added caching for displaying htmltables on course page