Add logout support.