Fix duplicate code in AdminUser model