Adding network calls to the server