Implement adding urls to history