Using lifegraph connect and lifegraph npm module