Some changes to remote messages.
Fixed bugs in remote with passkeys.