Update app/models/setting.rb

Add user_id validator check