Update user.rb file