Heat a cast iron skillet over medium high heat. Add the patties and cook until browned on the bottom. Add the cheese for the last 2 minutes of cooking.
To assemble, spread the mayonnaise on the buns (if using). Top each one with a burger patty, caramelized onions, and mushrooms. Add greens if desired. Serve.