Fixed url.py to prevent resubmit on page reload.