Attempt at adding Firebase sync