removed necessary example code, and added create event permissions.