added if to make sure table header on member posts only displays if there are actually posts