updated post controllers and views