retrieve building data from backend