Calculate user points.