codes in admin