Collecting addresses through sinatra server