#260 use filter for intercept logout event