preliminary support for saving search history on server