Loading model for isAdmin using ClassRegistry

fix for isAdmin method