set start date and end date if cookie is set
search page automatically sets search bar if from opening page