refactored event show page