id check when register