realize the function that the same phonenumber can not be registered