adding browser history