Changes to implement post creation and retrieva for homework 3.3