Added cache for UserRecords fetched for resolving a reference