Refactor messages controller for message conversation_id and user_id