Added database connection.