register device initial commit