added sessions controller and methods