created sessions controller