add jpa to project;
code does not work