check session first. Set empty search history message