Implementing device registration