add clear_all_sessions feature