i added a for loop to list the posts to the user