fetching posts in post/list.jsx