Got logout to work