get role by device id in api
remove device confirmed role
remove device cookie in api
extract sessionKey in open api