added middleware to provide db to routes
stubbed get methods for temperature and humidity