some changes in templates and lectures controller