addBlog in blogs.js