add view of event page.
added error handler to event page.