Register Device
Device Code