add checkPerson and switchPerson functions to alternate 'person' attribute with each new messages