added buttons to event show and index