Add flash messages for registration and confirmation.