added posts controller
added posts controller