added user history recording & displaying feature