Fixed issue of non logged in users eing able to edit posts. Added pygments imports