Prepare the Pan
Preheat the oven to 350°F (175°C). Line a 9 x 13-inch baking pan with parchment paper. Alternatively, grease the pan with butter and lightly dust it with flour.Combine the Dry Ingredients
In a medium bowl, whisk together the flour, baking powder, baking soda, and salt until evenly combined. Set aside.Cream the Butter and Sugars
In a large mixing bowl, beat the softened butter, granulated sugar, and brown sugar with an electric mixer until light and fluffy.Add the Eggs and Vanilla
Add the eggs one at a time, mixing well after each addition. Add the vanilla extract and mix until smooth and combined.Add the Bananas
Mash the overripe bananas in a separate bowl. Add them to the butter mixture and mix until evenly incorporated.Finish the Batter
Gradually add the dry ingredients to the wet mixture, alternating with the buttermilk. Begin and end with the dry ingredients. Mix gently after each addition, only until no visible streaks of flour remain. Do not overmix.Bake the Cake
Pour the batter into the prepared pan and spread it evenly. Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs.Cool Completely
Remove the cake from the oven and allow it to cool completely in the pan before frosting.Make the Cream Cheese Frosting
Beat the softened cream cheese and butter together until smooth and creamy. Gradually add the powdered sugar. Add the vanilla extract and salt, then continue beating until the frosting is light and fluffy.Frost and Decorate
Spread the cream cheese frosting evenly over the completely cooled cake. Decorate with fresh banana slices, chopped walnuts, or pecans, if desired. Cut into 15 squares and serve.