new logout structure