Getting input from form and output the information - Sinatra