add controller actions and import view