The integral role of security in smart buildings