Connect controller to the view and link actions