Up to section 5.3, created posts controller