Added activity logging for data addition.