Use sessions in the API, barely started it