Added initializer for networkClient that takes a username and password