Added API to enable/disable network