Modify function to indicate last online and add lastActiveTime function to more locations on the web page to indicate user is still active.