added logout to enable knife