Preheat your oven to 350 °F.
Lightly grease a9x13-inch sheet pan with cooking spray.
In a bowl add theflour, cocoa powder, baking soda, baking powder, cinnamon and salt and mixwell.
In another bowl,add the brown sugar, eggs and vanilla extract and with an electric mixer, beaton medium-high speed until very light.
Add the mayonnaiseand beat on low speed until combined.
Add the flourmixture, alternately with hot water, and beat on low speed until just combined.
Place the mixtureinto the prepared sheet pan and with a spatula, spread in an even layer.
Bake for about 30-35minutes or until a toothpick inserted in the center comes out clean.
Remove the sheetpan from the oven and place onto a wire rack to cool for about 10 minutes.
Then invert thecake onto the wire rack to cool completely before frosting.
For the frosting:in a bowl, add the cream cheese, butter and vanilla extract and with anelectric mixer, beat on medium speed until creamy.
In another bowl,add the powdered sugar and cocoa and mix well.
Slowly, add thesugar mixture into the butter mixture alternately with cream and beat on lowspeed until well combined.
Now, beat onmedium speed until light and fluffy.
Spread thefrosting over the cake evenly.
Cut the cake intodesired-sized pieces and serve.