Added id field to each visit message document