refactor event page
add error page
Revert "add error page"

This reverts commit 3635d6ae860f5adbfe0cee4e515cabc6ad7f274d.
add error page