Update userdata.php

Return all registered user device data as JSON.