Modified code for HistoryDetails and ContachUs Functionality.