updated posts_controller.rb new