use url lengthning service instead of doing it on the server side