removed default rails index file and changed route.rb file