Got the stats page working