Added user history logging and display