add getEntityManager to base CrudCrontroller