Fixed duplicate username error message

It will show an error only when a username is correct and there is a namespace conflict. It removes duplicate "already exists" errors for usernames.
Issue #8323