before ending
Finish session, sign in logout