added id to post model