Check isAdmin for admin pages