added check for admin features