implement ClearSession