added short_url functions that I found on StackOverflow, allowing results to be linked via alphabetical ids rather than incremental integers