Preheat oven to 400F. Grease an 8x8 baking pan and set aside.
To cook the lentils: Rinse under running water. Transfer to a saucepan and pour in 2 cups of water. Bring to a boil and then reduce to a gentle simmer. Cook, uncovered, for 15-20 minutes or until they are tender. Stir in ¼ teaspoon salt. If making in advance, store in an airtight container for up to a week.
In a large bowl, mix together the lentils and the vegetables. In another bowl, combine the eggs and the seasonings. Pour the egg mixture over the lentil mixture and toss until well-combined. Spread the mixture evenly into the baking dish. Bake for about 20-25 minutes. Take out of the oven, sprinkle cheese evenly on top, and place under the broiler for about 5 minutes or until the cheese is melted. Serve with avocado, cilantro, salsa or ketchup.