add logout capability.