redirect logout to index