added register functionality to aggregation server