Added authentication, the ability to delete posts, and render code in the show view