creating dictionaries to pass the message details to the browser
Testing