Make the logout msg self contained and configurable