// A concurrent write has inserted this device ID.
logger.Info("Did not insert new user as device ID already exists.",zap.Error(err),zap.String("deviceID",deviceID),zap.String("username",username),zap.Bool("create",create))
returnStatusError(codes.Internal,"Error finding or creating user account.",err)
returnStatusError(codes.AlreadyExists,"Username is already in use.",err)
}
logger.Debug("Cannot find or create user with device ID.",zap.Error(err),zap.String("deviceID",deviceID),zap.String("username",username),zap.Bool("create",create))