on registration there is now a working check if name already exists