Keeps track of user total and average online time. Adds it to the user profile.