Session toggle and logout.