Added check for makeAdmin API.