add logout handler