add controller with model