modified the item_detail view to show the messages