Added stats display logic to dashboard