added posts controller, established nesting with lists