Don't register with an existing username

Register method has been modified. A new user cannot register with an existing username.