added the functionality to RegisterPlayer to allow view to connect to UDPCLient