moved validation to CategoryForm and made CategoryController slim down