User activity tracking

Make sure to remove debugging statements!