Better auth and pagination