modify logout