destroy all urls with empty strings before presenting index page in case user leaves error page or enters new route without confirming new url
should be fully functional!