added posts ctrl and view