added search results saving with sessions