[server side] Code cleanin in device_finder.rb