history page implementation