Updated CourseNavagation to work with DB