remove search history session code