added view edit functionality for events