If your cookies turn out cakey instead of chewy you may have added too much moisture to your dough. Be sure to cook the pumpkin until it is thick and paste-like to prevent a cakey texture.