Added demo for the history api