integrating search with appropriate page