add connection to db