-fixed person/device pairing, some variables needed fixing (upper/lower case)
-fixed error in if/else structure for getDevicesInFront