add info about /api/stats to index template