Added in ability to recall previous url