Add connection to database