Add the show action to mesages, now it saves the messages and displays the recent messsage.