Adds a new logout handler to removes the session information from session registry on logout.