user controller working, need to fix posts controller