add posts controller.
set up posts controller.