androidpn server source add history function and paging the results