courses.php modified using base_template.php