changed user.rb