add statistic api for mobile; add ui improvment