add logout feature and switch UUID