added retrieving posts for each user through clicking