change gate code
rm session mgr