ENV syntax fixed
typo in variable name
Added check on existing submitted urls

  Will redirect to existing short page if url has already been submitted. Otherwise, creates a new short url.