Fixed call of LogObject in User.pm.