added UserHistory, not tested yet, but structure/prototypes are there