Implemented create method in event controller and CORS