added connection event to Mango