Added the posts controller and view