Added errors and static pages