Add isDBOnline Middleware here