added setting for server side endpoint