for user message recording