fixed error in determination of app admin role (in utils.js)