updated index.erb and getmatchinfo.rb