changed to use Spring Data JPA from JAX-RS