added created by and add check for created by or a poser in the post model