Use singleton AppDB in controllers