messaging functions on dashboard