[server side] unregister device over http request, added exception handlers