Update isAuthorized()