Update to new authentication