Add checking for repeating names before registration.