id added to model and controller to connect them