encode urls using base62