adding configurable base URLs for auth and api