hunting errors.
still working on the posts bug.
posts bugs
posts error.
edited posts controller