added search feature for pages