ensure correct initialization of http handler and user db