Move QueryBrowserPage to common and fix URL if using env variables