slight edit to user.rb