implemented code for post repsonse for author