Rename validate_device.php to validateDevice.php