add get and post routes, shorten.rb