Active users in stats

Closes #757 
Closes a bug which showed only the first usage stats record in topology list, instead of the last one.
Additionally shows 30-day active users in stats.