added ability to change date using url