adds the competitions#index
adds the competitions#index, applying some minor changes