added routing for address input