updated thread.html to display threads, posts, comments