working out bugs in associating posts with users
added render json function to update
update templates
adjust edit functionality and styling