update client specs to use UserIdentityt object instead of username string