registerCallback for registered user