manages messages passed around the site