updated network.py to support worldcoin