display posts in table