added ability to add and view posts