Implement department/<id> API to get list of courses for department