added ability to save searches using Cookies