get the sessions controller working