add before_filter for app_setting_controller