update to new authentication