Added JPA to the server side