refactor CourseServlet to use Course JPA Enitity