modified the post command to do status format and return the id of the post