added detection for a working user