added moar functions to userhistory