How can I implement authentication for a React SPA? - Better Auth