finish write client/server, need to list pagination