Add test for user name in log; add caching for user profile lookups