Biosensor-based therapy powered by synthetic biology