add api to list registered devices
update server, now it's ready for a online test