added basic event page and logic