Creating index on Events controller