support POST + close to get login finish
minor rollback