User objects are compared in many places, equals must be work correctly for the particular implementation.
equals