Added functionalty to the blog so that one can create posts