Add SITE_URL configuration, use it for API calls