configuring db