open database each time make request