changed UserDTO to User and PeerDTO back to PeerEndpoint, fixed references