added functionality to mark messages as read for specific roles