fixed User::equals(), made Connection::resolveTarget() not create User objects