add sqlBlogs fn and remove sql.connection()