add _cumulativeLineGraph function and handle first  GET request