I think this clause also needs to return `{name, UserId}` if the verification succeeds. Maybe an `internal_decrypt` or `internal_verify` helper function would make sense here that takes care of the version switching. Then a single try clause and return value.