building out search page