added app setting for api endpoint