Integrate front page stats with REST API

Populates the stats on the left side of the front page with real values gotten through the REST API.