Added equals/hashCode implementations to UserImpl.