New logout feature