adding search to session