added error messages for adding event page