added unregister user device during logout