del hist and logout