added firebase sync magic :)