short urls are now generated when saving a valid url to the db