Adding action to add message