Added check for duplicate username creation