now, on /device/register users are inserted in a temporary table