url shortener using sinatra+redis