fixed model and view to send message corerctly
fixed the search model and views to pass message from 1 view to the other.