Process user input

Actually shorten or expand the requested URL, instead of hardcoded
exapmles.