Created the controller posts