Repaired moderate_posts() and began adding logout