Heat butter in a saucepan over medium heat. Slowly cook and stir onion until tender, approx. 5 minutes. Combine with spinach and salt. Stir in feta cheese, cottage cheese, garlic and egg. Cook and stir until thick (approx. 5 minutes). Reduce heat and let simmer. Preheat oven to 400 degrees.