update loginVC and rootVC after login