commit before refactoring events index view with new methods in events model
successful refactoring of the event index view