corrected typo in userHistory