if a Logged-in (Sender ) user sent a message to another registered user then the ID of Sender & Reciever along with Message Content should be saved in DB,
And after user login with their ID, If Reciever ID found.in DB Then the Message on ID should Display.