fix problem on determination of which user is entering the cabin
add logs