Implement sessions controller and helper