reorganize api calls
set up FE for getting parties newer than id