move addBlogs method in the async task