network calls updated to work with ServerPy