security authentication listener