Entity manager listener.
Create user.
Remove static entity manager factory.