```ruby
module Spree
  class User < ActiveRecord::Base
    self.table_name = 'spree_people'

    authenticates_with_sorcery!

    validates :password, length: { minimum: 6 }, if: -> { new_record? || changes[:crypted_password] }
    validates :password, confirmation: true, if: -> { new_record? || changes[:crypted_password] }
    validates :password_confirmation, presence: true, if: -> { new_record? || changes[:crypted_password] }

    validates :email, uniqueness: true
  end
end
```

Include UserAddress concern in User model
user
```ruby
module Spree
  class User < ActiveRecord::Base
    include UserAddress

    self.table_name = 'spree_people'

    authenticates_with_sorcery!

    validates :password, length: { minimum: 6 }, if: -> { new_record? || changes[:crypted_password] }
    validates :password, confirmation: true, if: -> { new_record? || changes[:crypted_password] }
    validates :password_confirmation, presence: true, if: -> { new_record? || changes[:crypted_password] }

    validates :email, uniqueness: true
  end
end
```
assistant