Updated posts_controller and added views for edit, new, and show