Updated courses#index to show courses being taught and courses being taken