When authorization is completed find or create a local user