adding message component