create sessions controller