Changed code to register user with single location and single cluster.