Refactor syncBlogs to accept a WPAccount as a parameter