Compute historical user activity

I think this is the bare minimum changeset that will allow us to see historical user activity.