app/models/user.rb modification