Post method working correctly. Need to handle the response from server.Need to include the display of received messages in the home screen