Firebase syncing working