added controller for courses