add logout event