use openid instead of username, and fix path in intent