add logout error message when happens unregister device error