add blog page and fix various bugs