add: end_session/1