add entitymanager init post