refactor
fix login success url bug