moved identity to messages