add network-info plugin and online event