added support for url history