Adjusted posts.all query to limit to 5