small change to user.rb method