Replace the old admin checking code
More basic info
Use predefined value