added offline messaging module