crud controller simplify stuff