Prevent repeated registering