history page fully functioning