add logout success handler