firebase saving pos