Added the messages action to handle the users's message.