added warnings to messages in the views.
added warnings to messages in the views.