add posts controller files