fix user.rb file