now it use mongodb to save and retreive network