Generating the blog controller