Finnished server's "Add device" functionality.