User::isUser, not isUndo
calories should not be member variable or in constructor