logout in a new tab