add database state class to the http responder