added posts routes and an index view that will list posts