make sure that the entered name is available