settingsController method