API-UI creating and deleting events