Inserting the contacts i.e inserting the sender, receiver and the message