hooked up the locator page to the database