gcalfuncs and ouauth works