fixed blog db, added up/downvote