Get per user statistics (and split off DB stuff)