prepare for 重启不重登录