got logout to work