loadMoreHistory func uses new variables historyPage and historyPageSize to fetch the next x = historyPageSize elements with skip, take query parameters for /history endpoint before prepending the received messages to the existing.