Refactoring
Added get course by id