Fix: online status not update at the login time