setting up event page