changed edit call to store openid if given