This bit with the meta userID/username could probably be broken out into a separate function and reused in, say, the submit history report, etc.