added posts view and controller