changed controller / message component to fix new interface