add Security context listener