re-added code that was lost; validate long-url
merged conflicts in home and app.py