add method for getting a persisted map of messages temporarily
load the messages temporarily. bug fix: this failed after 1 use.