default value for settings
refactor remote auth sample