Modified the access URL to use the hostname from the user settings.