adding entity manager registry to allow multiple managers use