removed db connection from header