modified logout guest