Extend MessagesController from BaseController