view gets messages from provider