add currentBlogger bool; moved db commit inside loop