Removed the alerts and made the destination page display the message after navigating