added firebase saving data