impliment editing and deleting cohorts

what does respond_to? do here? just curious.