add admin models function