Updated the aft-servlet to contain a deviceExists method