Routes to appropriate page using sinatra.