refactoring ClientSettingService