Adding deviceID registration