fix bug: remove log & reg view controllers after reg succeed