Working on ManagerSession.
Fixed misconfiguration in persistence.xml