changed gethistory from UID to username