Preheat your oven to 350F (180C). In medium bowl, sift together the flour, baking soda, cinnamon, ginger, allspice and fennel seed. In a stand mixer, beat the butter until it becomes light. Then add the white sugar and brown sugar while it is on medium speed. Mix it well.