integrate logout