added posts controller