using location provider now, and base url
working base url for index