updated cases_controller....changed variable name, and moved edit case matter stuff