Added get events and get events with changes php files