added a GET method for userType(machineDetection) and added a full example for machineDetection