Revert "Signed-off-by: rogetfan <huxuehan1991@gmail.com>"

This reverts commit da00c8107518370466c10fedf7a5d91e7d53b99e and
415741c6521a8e256c65fac3212e46a16913d917.
That is git revert HEAD~1
add partial function to start session

this is the substitute of commit da00c8107518370466c10fedf7a5d91e7d53b99e