Revert changes on app/models/user.rb, original method is supposed to work