Updated the stats page controller