removed javax.persistence and added a datasource to the controller