device register with userName.