Add session log out function.