add logout.