Added connections to database.