auth.api functionality - Better Auth