add firebase saving of data