Update the models to handle publishing of articles
proper status code sent by the server
seperated methods to prepare and add post