i added the html for loop for viewing post