removed updateLastOnlineTime from every socket call