started to move stats generation code out of welcome controller into a service