Add message function (new, index, show, create, destroy).