fix bugs
remove gflash after login success