[mvc/controller] Added setMessage & clearMessage method in controller.