Added functionality for data points to be stored on server