rename rest.isAuthorized to prodIsAuthorized
revert name of isProdAuthorized to isAuthorized