Added ability to find a post by id
Changed so that if post already exists it updates instead of inserts.