added api for retriving courses of a specific department