fix for admin user check