posts now displaying and working correctly