added analytics to lms