latest updates. added new loggedOut event. updates to authenticationFilter