added server to store user graph and support for registering device's ip and neighbor's ip in the server