added sketch of firebase code on makeRequest