Added endpoint to load user purchase history