added debug log to user quit