added search for page and collection page