does not work yet, data.iterator().next().username throws error and haven't retrieved users from view yet