changes to post contollers and views