added REST api for 
 -- stats by user id, sorted by year,month
 -- activity by user id sorted by year,month