I am trying to get the following code to work and I can get it to work when inserting data into firebase. However, I am getting a null error here when trying to display it on a