change logout to get from delete