db settings and links