make model changes and add messages_view