added multiuser support at engine level