added message_model and user_model