added attr_accessible to settings.rb