implemented event editing page