Added function setCurrentUserLastActiveTime() to be called from profile update, logout, chat and anywhere else the current user is active.