link query page to index page