here we added extraction and calculation of user daily avg trajecotry