Adapt user detection in Backend