Unregister device

Implemented /unregister in client.