putting the post request in displaymessageactivity instead