added app_msg and pushing data to wan