authentication for sugar