building out ui for viewing and editing posts