Updating blog for week 3 Homework 2 - Adding the post handling part