updated battles controller with create action