firebase connection with data back end