changed /search to render dynamic page