Implement sessions endpoint