adding connection to db settings