got messages controller working