enable Wifi in addNetwork()

by calling the enableNetwork method. And add some debugging messages