added a logout to smithy