fix enroll url and issue logout after enroll
update to use the latest v1.0.1