Refine getting networks and providers
Refine authentication sequence